.upload {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    height: 200px;
    width: 300px;
    text-align: center;
    border: 2px dashed gray;
    background-color: #f1f1f1;
}

.upload input {
    position: absolute;
    top: 1px;
    left:0;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.upload label {
    display: inline-block;
    width: 80px;
    line-height: 30px;
    color: #fff;
    border-radius: 5px;
    background-color: #00b0ff;
}

.upload .imgShow {
    position: relative;
    display: none;
    background-color: #fff;
    margin: 0 auto;
    padding: 10px;
}

.upload .imgShow img {
    max-height: 160px;
    max-width: 260px;
}

.upload .imgShow .delete {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    margin: 0 auto;
    line-height: 30px;
    background-color: #ffffff;
    z-index: 100;
}

.upload .imgShow:hover .delete {
    display: block;
}